package com.dkm.ec.so.persistence.entity;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:订单项目 Tbl对象
 * 开发公司:dkm.com
 * 开发人员:ZHH
 * 创建时间:2017-05-19 15:51:36
 */
 @ITable(name="soItem",code="t_so_item")
public class SoItemTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*主键*/
	@IField(name="soId",column="so_id_")
	protected String  soId; 		/*所属订单 ID*/
	@IField(name="mainCloudPath",column="main_cloud_path_")
	protected String  mainCloudPath; 		/*main_cloud_path_*/
	@IField(name="prodSkuId",column="prod_sku_id_")
	protected String  prodSkuId; 		/*产品SKU ID*/
	@IField(name="prodSkuKey",column="prod_sku_key_")
	protected String  prodSkuKey; 		/*产品SKU 业务键*/
	@IField(name="isMain",column="is_main_")
	protected char  isMain; 		/*是否主项目。主项目为正常，从项目为赠品。*/
	@IField(name="mainId",column="main_id_")
	protected String  mainId; 		/*从属主项目 ID*/
	@IField(name="count",column="count_")
	protected Integer  count; 		/*购买数量*/
	@IField(name="salesPrice",column="sales_price_")
	protected java.math.BigDecimal  salesPrice; 		/*产品SKU销售价(快照冗余)*/
	@IField(name="amount",column="amount_")
	protected java.math.BigDecimal  amount; 		/*折后单价。表示实际的购买金额。即BI的实付金额。*/
	@IField(name="isReview",column="is_review_")
	protected char  isReview; 		/*评价状态。N=未评价；Y=已评价；*/
	@IField(name="productId",column="product_id_")
	protected String  productId; 		/*所属销售产品 ID*/
	@IField(name="cpsStatus",column="cps_status_")
	protected String  cpsStatus; 		/*订单CPS状态。tbd=待定；un_qualified=不合格；qualified=合格。completed=已完结。*/
	@IField(name="payStatus",column="pay_status_")
	//状态 - 订单状态。awaiting_pay=等待支付；cancelled=取消；payment_verify=等待支付确认；
	//awaiting_ship=已支付，等待发货；shipped=已发货；completed=订单完成;
	//awaiting=待审核；not_pass=审核不通过；service_pass=审核通过；return_shipped=已发货;receive=已收货；
	//not_right=商品有误或过期（20天）未收到回寄商品；close=关闭；done=完成退款；exchange=已换货
	protected String  payStatus; 		
	@IField(name="packageSkuId",column="package_sku_id_")
	protected String  packageSkuId; 		/*从属产品套餐 SKU ID*/
	@IField(name="isDel",column="is_del_")
	protected String  isDel; 		/*从属产品套餐 SKU ID*/
	@IField(name="returnIngId",column="reutrn_ing_id_")
	protected String  returnIngId; 		/*从属产品套餐 SKU ID*/
	
	
	
	public String getReturnIngId() {
		return returnIngId;
	}
	public void setReturnIngId(String returnIngId) {
		this.returnIngId = returnIngId;
	}
	public String getIsDel() {
		return isDel;
	}
	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 主键
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setSoId(String soId) 
	{
		this.soId = soId;
	}
	/**
	 * 返回 所属订单 ID
	 * @return
	 */
	public String getSoId() 
	{
		return this.soId;
	}
	public void setMainCloudPath(String mainCloudPath) 
	{
		this.mainCloudPath = mainCloudPath;
	}
	/**
	 * 返回 main_cloud_path_
	 * @return
	 */
	public String getMainCloudPath() 
	{
		return this.mainCloudPath;
	}
	public void setProdSkuId(String prodSkuId) 
	{
		this.prodSkuId = prodSkuId;
	}
	/**
	 * 返回 产品SKU ID
	 * @return
	 */
	public String getProdSkuId() 
	{
		return this.prodSkuId;
	}
	public void setProdSkuKey(String prodSkuKey) 
	{
		this.prodSkuKey = prodSkuKey;
	}
	/**
	 * 返回 产品SKU 业务键
	 * @return
	 */
	public String getProdSkuKey() 
	{
		return this.prodSkuKey;
	}
	public void setIsMain(char isMain) 
	{
		this.isMain = isMain;
	}
	/**
	 * 返回 是否主项目。主项目为正常，从项目为赠品。
	 * @return
	 */
	public char getIsMain() 
	{
		return this.isMain;
	}
	public void setMainId(String mainId) 
	{
		this.mainId = mainId;
	}
	/**
	 * 返回 从属主项目 ID
	 * @return
	 */
	public String getMainId() 
	{
		return this.mainId;
	}
	public void setCount(Integer count) 
	{
		this.count = count;
	}
	/**
	 * 返回 购买数量
	 * @return
	 */
	public Integer getCount() 
	{
		return this.count;
	}
	public void setSalesPrice(java.math.BigDecimal salesPrice) 
	{
		this.salesPrice = salesPrice;
	}
	/**
	 * 返回 产品SKU销售价(快照冗余)
	 * @return
	 */
	public java.math.BigDecimal getSalesPrice() 
	{
		return this.salesPrice;
	}
	public void setAmount(java.math.BigDecimal amount) 
	{
		this.amount = amount;
	}
	/**
	 * 返回 折后单价。表示实际的购买金额。即BI的实付金额。
	 * @return
	 */
	public java.math.BigDecimal getAmount() 
	{
		return this.amount;
	}
	public void setIsReview(char isReview) 
	{
		this.isReview = isReview;
	}
	/**
	 * 返回 评价状态。N=未评价；Y=已评价；
	 * @return
	 */
	public char getIsReview() 
	{
		return this.isReview;
	}
	public void setProductId(String productId) 
	{
		this.productId = productId;
	}
	/**
	 * 返回 所属销售产品 ID
	 * @return
	 */
	public String getProductId() 
	{
		return this.productId;
	}
	public void setCpsStatus(String cpsStatus) 
	{
		this.cpsStatus = cpsStatus;
	}
	/**
	 * 返回 订单CPS状态。tbd=待定；un_qualified=不合格；qualified=合格。completed=已完结。
	 * @return
	 */
	public String getCpsStatus() 
	{
		return this.cpsStatus;
	}
	public void setPayStatus(String payStatus) 
	{
		this.payStatus = payStatus;
	}
	/**
	 * 返回 佣金支付状态。unpaid=未支付；paid_off=已支付；reject=已拒绝
	 * @return
	 */
	public String getPayStatus() 
	{
		return this.payStatus;
	}
	public void setPackageSkuId(String packageSkuId) 
	{
		this.packageSkuId = packageSkuId;
	}
	/**
	 * 返回 从属产品套餐 SKU ID
	 * @return
	 */
	public String getPackageSkuId() 
	{
		return this.packageSkuId;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("soId", this.soId) 
		.append("mainCloudPath", this.mainCloudPath) 
		.append("prodSkuId", this.prodSkuId) 
		.append("prodSkuKey", this.prodSkuKey) 
		.append("isMain", this.isMain) 
		.append("mainId", this.mainId) 
		.append("count", this.count) 
		.append("salesPrice", this.salesPrice) 
		.append("amount", this.amount) 
		.append("isReview", this.isReview) 
		.append("productId", this.productId) 
		.append("cpsStatus", this.cpsStatus) 
		.append("payStatus", this.payStatus) 
		.append("packageSkuId", this.packageSkuId) 
		.toString();
	}
}